package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FFxObasicExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FFxObasicExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNull() {
            addCriterion("ts_code is null");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNotNull() {
            addCriterion("ts_code is not null");
            return (Criteria) this;
        }

        public Criteria andTsCodeEqualTo(String value) {
            addCriterion("ts_code =", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotEqualTo(String value) {
            addCriterion("ts_code <>", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThan(String value) {
            addCriterion("ts_code >", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ts_code >=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThan(String value) {
            addCriterion("ts_code <", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThanOrEqualTo(String value) {
            addCriterion("ts_code <=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLike(String value) {
            addCriterion("ts_code like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotLike(String value) {
            addCriterion("ts_code not like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeIn(List<String> values) {
            addCriterion("ts_code in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotIn(List<String> values) {
            addCriterion("ts_code not in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeBetween(String value1, String value2) {
            addCriterion("ts_code between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotBetween(String value1, String value2) {
            addCriterion("ts_code not between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andClassifyIsNull() {
            addCriterion("classify is null");
            return (Criteria) this;
        }

        public Criteria andClassifyIsNotNull() {
            addCriterion("classify is not null");
            return (Criteria) this;
        }

        public Criteria andClassifyEqualTo(String value) {
            addCriterion("classify =", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyNotEqualTo(String value) {
            addCriterion("classify <>", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyGreaterThan(String value) {
            addCriterion("classify >", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyGreaterThanOrEqualTo(String value) {
            addCriterion("classify >=", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyLessThan(String value) {
            addCriterion("classify <", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyLessThanOrEqualTo(String value) {
            addCriterion("classify <=", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyLike(String value) {
            addCriterion("classify like", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyNotLike(String value) {
            addCriterion("classify not like", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyIn(List<String> values) {
            addCriterion("classify in", values, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyNotIn(List<String> values) {
            addCriterion("classify not in", values, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyBetween(String value1, String value2) {
            addCriterion("classify between", value1, value2, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyNotBetween(String value1, String value2) {
            addCriterion("classify not between", value1, value2, "classify");
            return (Criteria) this;
        }

        public Criteria andExchangeIsNull() {
            addCriterion("exchange is null");
            return (Criteria) this;
        }

        public Criteria andExchangeIsNotNull() {
            addCriterion("exchange is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeEqualTo(String value) {
            addCriterion("exchange =", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotEqualTo(String value) {
            addCriterion("exchange <>", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeGreaterThan(String value) {
            addCriterion("exchange >", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeGreaterThanOrEqualTo(String value) {
            addCriterion("exchange >=", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLessThan(String value) {
            addCriterion("exchange <", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLessThanOrEqualTo(String value) {
            addCriterion("exchange <=", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLike(String value) {
            addCriterion("exchange like", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotLike(String value) {
            addCriterion("exchange not like", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeIn(List<String> values) {
            addCriterion("exchange in", values, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotIn(List<String> values) {
            addCriterion("exchange not in", values, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeBetween(String value1, String value2) {
            addCriterion("exchange between", value1, value2, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotBetween(String value1, String value2) {
            addCriterion("exchange not between", value1, value2, "exchange");
            return (Criteria) this;
        }

        public Criteria andMinUnitIsNull() {
            addCriterion("min_unit is null");
            return (Criteria) this;
        }

        public Criteria andMinUnitIsNotNull() {
            addCriterion("min_unit is not null");
            return (Criteria) this;
        }

        public Criteria andMinUnitEqualTo(Float value) {
            addCriterion("min_unit =", value, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitNotEqualTo(Float value) {
            addCriterion("min_unit <>", value, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitGreaterThan(Float value) {
            addCriterion("min_unit >", value, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitGreaterThanOrEqualTo(Float value) {
            addCriterion("min_unit >=", value, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitLessThan(Float value) {
            addCriterion("min_unit <", value, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitLessThanOrEqualTo(Float value) {
            addCriterion("min_unit <=", value, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitIn(List<Float> values) {
            addCriterion("min_unit in", values, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitNotIn(List<Float> values) {
            addCriterion("min_unit not in", values, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitBetween(Float value1, Float value2) {
            addCriterion("min_unit between", value1, value2, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMinUnitNotBetween(Float value1, Float value2) {
            addCriterion("min_unit not between", value1, value2, "minUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitIsNull() {
            addCriterion("max_unit is null");
            return (Criteria) this;
        }

        public Criteria andMaxUnitIsNotNull() {
            addCriterion("max_unit is not null");
            return (Criteria) this;
        }

        public Criteria andMaxUnitEqualTo(Float value) {
            addCriterion("max_unit =", value, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitNotEqualTo(Float value) {
            addCriterion("max_unit <>", value, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitGreaterThan(Float value) {
            addCriterion("max_unit >", value, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitGreaterThanOrEqualTo(Float value) {
            addCriterion("max_unit >=", value, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitLessThan(Float value) {
            addCriterion("max_unit <", value, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitLessThanOrEqualTo(Float value) {
            addCriterion("max_unit <=", value, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitIn(List<Float> values) {
            addCriterion("max_unit in", values, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitNotIn(List<Float> values) {
            addCriterion("max_unit not in", values, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitBetween(Float value1, Float value2) {
            addCriterion("max_unit between", value1, value2, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andMaxUnitNotBetween(Float value1, Float value2) {
            addCriterion("max_unit not between", value1, value2, "maxUnit");
            return (Criteria) this;
        }

        public Criteria andPipIsNull() {
            addCriterion("pip is null");
            return (Criteria) this;
        }

        public Criteria andPipIsNotNull() {
            addCriterion("pip is not null");
            return (Criteria) this;
        }

        public Criteria andPipEqualTo(Float value) {
            addCriterion("pip =", value, "pip");
            return (Criteria) this;
        }

        public Criteria andPipNotEqualTo(Float value) {
            addCriterion("pip <>", value, "pip");
            return (Criteria) this;
        }

        public Criteria andPipGreaterThan(Float value) {
            addCriterion("pip >", value, "pip");
            return (Criteria) this;
        }

        public Criteria andPipGreaterThanOrEqualTo(Float value) {
            addCriterion("pip >=", value, "pip");
            return (Criteria) this;
        }

        public Criteria andPipLessThan(Float value) {
            addCriterion("pip <", value, "pip");
            return (Criteria) this;
        }

        public Criteria andPipLessThanOrEqualTo(Float value) {
            addCriterion("pip <=", value, "pip");
            return (Criteria) this;
        }

        public Criteria andPipIn(List<Float> values) {
            addCriterion("pip in", values, "pip");
            return (Criteria) this;
        }

        public Criteria andPipNotIn(List<Float> values) {
            addCriterion("pip not in", values, "pip");
            return (Criteria) this;
        }

        public Criteria andPipBetween(Float value1, Float value2) {
            addCriterion("pip between", value1, value2, "pip");
            return (Criteria) this;
        }

        public Criteria andPipNotBetween(Float value1, Float value2) {
            addCriterion("pip not between", value1, value2, "pip");
            return (Criteria) this;
        }

        public Criteria andPipCostIsNull() {
            addCriterion("pip_cost is null");
            return (Criteria) this;
        }

        public Criteria andPipCostIsNotNull() {
            addCriterion("pip_cost is not null");
            return (Criteria) this;
        }

        public Criteria andPipCostEqualTo(Float value) {
            addCriterion("pip_cost =", value, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostNotEqualTo(Float value) {
            addCriterion("pip_cost <>", value, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostGreaterThan(Float value) {
            addCriterion("pip_cost >", value, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostGreaterThanOrEqualTo(Float value) {
            addCriterion("pip_cost >=", value, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostLessThan(Float value) {
            addCriterion("pip_cost <", value, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostLessThanOrEqualTo(Float value) {
            addCriterion("pip_cost <=", value, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostIn(List<Float> values) {
            addCriterion("pip_cost in", values, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostNotIn(List<Float> values) {
            addCriterion("pip_cost not in", values, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostBetween(Float value1, Float value2) {
            addCriterion("pip_cost between", value1, value2, "pipCost");
            return (Criteria) this;
        }

        public Criteria andPipCostNotBetween(Float value1, Float value2) {
            addCriterion("pip_cost not between", value1, value2, "pipCost");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadIsNull() {
            addCriterion("traget_spread is null");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadIsNotNull() {
            addCriterion("traget_spread is not null");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadEqualTo(Float value) {
            addCriterion("traget_spread =", value, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadNotEqualTo(Float value) {
            addCriterion("traget_spread <>", value, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadGreaterThan(Float value) {
            addCriterion("traget_spread >", value, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadGreaterThanOrEqualTo(Float value) {
            addCriterion("traget_spread >=", value, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadLessThan(Float value) {
            addCriterion("traget_spread <", value, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadLessThanOrEqualTo(Float value) {
            addCriterion("traget_spread <=", value, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadIn(List<Float> values) {
            addCriterion("traget_spread in", values, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadNotIn(List<Float> values) {
            addCriterion("traget_spread not in", values, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadBetween(Float value1, Float value2) {
            addCriterion("traget_spread between", value1, value2, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andTragetSpreadNotBetween(Float value1, Float value2) {
            addCriterion("traget_spread not between", value1, value2, "tragetSpread");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceIsNull() {
            addCriterion("min_stop_distance is null");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceIsNotNull() {
            addCriterion("min_stop_distance is not null");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceEqualTo(Float value) {
            addCriterion("min_stop_distance =", value, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceNotEqualTo(Float value) {
            addCriterion("min_stop_distance <>", value, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceGreaterThan(Float value) {
            addCriterion("min_stop_distance >", value, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceGreaterThanOrEqualTo(Float value) {
            addCriterion("min_stop_distance >=", value, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceLessThan(Float value) {
            addCriterion("min_stop_distance <", value, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceLessThanOrEqualTo(Float value) {
            addCriterion("min_stop_distance <=", value, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceIn(List<Float> values) {
            addCriterion("min_stop_distance in", values, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceNotIn(List<Float> values) {
            addCriterion("min_stop_distance not in", values, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceBetween(Float value1, Float value2) {
            addCriterion("min_stop_distance between", value1, value2, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andMinStopDistanceNotBetween(Float value1, Float value2) {
            addCriterion("min_stop_distance not between", value1, value2, "minStopDistance");
            return (Criteria) this;
        }

        public Criteria andTradingHoursIsNull() {
            addCriterion("trading_hours is null");
            return (Criteria) this;
        }

        public Criteria andTradingHoursIsNotNull() {
            addCriterion("trading_hours is not null");
            return (Criteria) this;
        }

        public Criteria andTradingHoursEqualTo(String value) {
            addCriterion("trading_hours =", value, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursNotEqualTo(String value) {
            addCriterion("trading_hours <>", value, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursGreaterThan(String value) {
            addCriterion("trading_hours >", value, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursGreaterThanOrEqualTo(String value) {
            addCriterion("trading_hours >=", value, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursLessThan(String value) {
            addCriterion("trading_hours <", value, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursLessThanOrEqualTo(String value) {
            addCriterion("trading_hours <=", value, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursLike(String value) {
            addCriterion("trading_hours like", value, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursNotLike(String value) {
            addCriterion("trading_hours not like", value, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursIn(List<String> values) {
            addCriterion("trading_hours in", values, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursNotIn(List<String> values) {
            addCriterion("trading_hours not in", values, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursBetween(String value1, String value2) {
            addCriterion("trading_hours between", value1, value2, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andTradingHoursNotBetween(String value1, String value2) {
            addCriterion("trading_hours not between", value1, value2, "tradingHours");
            return (Criteria) this;
        }

        public Criteria andBreakTimeIsNull() {
            addCriterion("break_time is null");
            return (Criteria) this;
        }

        public Criteria andBreakTimeIsNotNull() {
            addCriterion("break_time is not null");
            return (Criteria) this;
        }

        public Criteria andBreakTimeEqualTo(String value) {
            addCriterion("break_time =", value, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeNotEqualTo(String value) {
            addCriterion("break_time <>", value, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeGreaterThan(String value) {
            addCriterion("break_time >", value, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeGreaterThanOrEqualTo(String value) {
            addCriterion("break_time >=", value, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeLessThan(String value) {
            addCriterion("break_time <", value, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeLessThanOrEqualTo(String value) {
            addCriterion("break_time <=", value, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeLike(String value) {
            addCriterion("break_time like", value, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeNotLike(String value) {
            addCriterion("break_time not like", value, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeIn(List<String> values) {
            addCriterion("break_time in", values, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeNotIn(List<String> values) {
            addCriterion("break_time not in", values, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeBetween(String value1, String value2) {
            addCriterion("break_time between", value1, value2, "breakTime");
            return (Criteria) this;
        }

        public Criteria andBreakTimeNotBetween(String value1, String value2) {
            addCriterion("break_time not between", value1, value2, "breakTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}